package com.wn.service;

import com.wn.bean.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yellow Docter
 * @since 2022-05-16
 */
public interface IPermissionService extends IService<Permission> {

    /**
     * 查询所有的权限
     * @return
     */
    List<Map<String, Object>> findPermission(Integer rid);

}
